action muxer: Add some convenience api
authorMatthias Clasen <mclasen@redhat.com>
Fri, 14 Jun 2019 17:41:45 +0000 (13:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 16 Jun 2019 01:40:12 +0000 (21:40 -0400)
commitdb7f0189dd7fa93096a865487ce77a73854da441
treea5ab5b3ac1220c15511035293fefd5ec5aad785f
parentd2a794b4119865627c1ddf651e3d344992814465
action muxer: Add some convenience api

Instead of duplicating this code in multiple places,
add an api to look up an action group for a prefixed
name, and return the unprefixed name at the same time.
gtk/gtkactionmuxer.c
gtk/gtkactionmuxerprivate.h